Multilevel Mediation

A folder with an example of multilevel mediation.

Under development. Comments, questions, and corrections are most welcome.

Here is a direct link to the do file above.

Perhaps helpfully, perhaps confusingly, I have included syntax for mediation with clustered standard errors.

The graphs (.png files) help to understand why the multilevel and clustered standard error analyses give different results.

heuristic diagram of multilevel mediation